Recent studies have suggested that detectable ionospheric disturbances precede earthquakes. In the present study, variations in the vertical total electron content (TEC) for eight earthquakes with magnitudes of M ≥ 5.5 in the western United States were investigated during the solar maximum of 2013–2015 using United States total electron content (US-TEC) data provided by the National Oceanic and Atmospheric Administration. Analyses of 12 earthquakes with magnitudes of 5.0 ≤ M < 5.5 in the same region were also performed. The TEC variations were examined for 40 days, including the times when the earthquakes occurred. The results indicated a correlation between earthquakes with magnitudes of M ≥ 5.0 and ionospheric TEC anomalies. TEC anomalies occurred before 60% of the earthquakes. Additionally, they were more frequently observed for large earthquakes (75%, M ≥ 5.5) than for small earthquakes (50%, 5.5 > M ≥ 5.0). Anomalous increases in the TEC occurred 2–18 days before the earthquakes as an ionospheric precursor, whereas solar and geomagnetic activities were low or moderate.