Cities in California by housing units

Los Angeles, CA had the highest housing units of 376 cities in 2021, at 1.5 million. Farmersville, CA had the lowest, at 2,870. The median was 16,290 and the figure for California was 14.33 million. Source: the U.S. Census Bureau.

Keep it in a collection in your library.
Highest1,503,915Los Angeles, CA
Lowest2,870Farmersville, CA
Median16,290376 cities
California14,328,539History

Top 40 cities, 2021

Los Angeles, CA: 1,503,915 countLos Angeles, CA1,503,915San Diego, CA: 545,792 countSan Diego, CA545,792San Francisco, CA: 404,720 countSan Francisco, CA404,720San Jose, CA: 339,550 countSan Jose, CA339,550Sacramento, CA: 203,906 countSacramento, CA203,906Fresno, CA: 183,951 countFresno, CA183,951Oakland, CA: 180,171 countOakland, CA180,171Long Beach, CA: 179,479 countLong Beach, CA179,479Bakersfield, CA: 130,148 countBakersfield, CA130,148Irvine, CA: 115,917 countIrvine, CA115,917Anaheim, CA: 108,652 countAnaheim, CA108,652Stockton, CA: 102,919 countStockton, CA102,919Riverside, CA: 93,117 countRiverside, CA93,117Chula Vista, CA: 88,262 countChula Vista, CA88,262Huntington Beach, CA: 81,429 countHuntington Beach, CA81,429Santa Ana, CA: 79,179 countSanta Ana, CA79,179Glendale, CA: 78,873 countGlendale, CA78,873Fremont, CA: 78,240 countFremont, CA78,240Santa Clarita, CA: 75,751 countSanta Clarita, CA75,751Modesto, CA: 74,709 countModesto, CA74,709Santa Rosa, CA: 70,412 countSanta Rosa, CA70,412San Bernardino, CA: 65,842 countSan Bernardino, CA65,842Oceanside, CA: 65,763 countOceanside, CA65,763Pasadena, CA: 61,376 countPasadena, CA61,376Sunnyvale, CA: 60,511 countSunnyvale, CA60,511Torrance, CA: 59,569 countTorrance, CA59,569Rancho Cucamonga, CA: 58,721 countRancho Cucamonga, CA58,721Roseville, CA: 56,849 countRoseville, CA56,849Fontana, CA: 56,690 countFontana, CA56,690Lancaster, CA: 55,574 countLancaster, CA55,574Moreno Valley, CA: 55,532 countMoreno Valley, CA55,532Elk Grove, CA: 55,504 countElk Grove, CA55,504Oxnard, CA: 54,482 countOxnard, CA54,482Ontario, CA: 53,217 countOntario, CA53,217Santa Monica, CA: 52,522 countSanta Monica, CA52,522Escondido, CA: 52,366 countEscondido, CA52,366Hayward, CA: 52,193 countHayward, CA52,193Garden Grove, CA: 49,559 countGarden Grove, CA49,559Berkeley, CA: 49,260 countBerkeley, CA49,260Santa Clara, CA: 49,057 countSanta Clara, CA49,057Los Angeles, CA: 1,503,915 countLos Angeles, CA1,503,915San Diego, CA: 545,792 countSan Diego, CA545,792San Francisco, CA: 404,720 countSan Francisco, CA404,720San Jose, CA: 339,550 countSan Jose, CA339,550Sacramento, CA: 203,906 countSacramento, CA203,906Fresno, CA: 183,951 countFresno, CA183,951Oakland, CA: 180,171 countOakland, CA180,171Long Beach, CA: 179,479 countLong Beach, CA179,479Bakersfield, CA: 130,148 countBakersfield, CA130,148Irvine, CA: 115,917 countIrvine, CA115,917Anaheim, CA: 108,652 countAnaheim, CA108,652Stockton, CA: 102,919 countStockton, CA102,919Riverside, CA: 93,117 countRiverside, CA93,117Chula Vista, CA: 88,262 countChula Vista, CA88,262Huntington Beach, CA: 81,429 countHuntington Beach, CA81,429Santa Ana, CA: 79,179 countSanta Ana, CA79,179Glendale, CA: 78,873 countGlendale, CA78,873Fremont, CA: 78,240 countFremont, CA78,240Santa Clarita, CA: 75,751 countSanta Clarita, CA75,751Modesto, CA: 74,709 countModesto, CA74,709Santa Rosa, CA: 70,412 countSanta Rosa, CA70,412San Bernardino, CA: 65,842 countSan Bernardino, CA65,842Oceanside, CA: 65,763 countOceanside, CA65,763Pasadena, CA: 61,376 countPasadena, CA61,376Sunnyvale, CA: 60,511 countSunnyvale, CA60,511Torrance, CA: 59,569 countTorrance, CA59,569Rancho Cucamonga, CA: 58,721 countRancho Cucamonga, CA58,721Roseville, CA: 56,849 countRoseville, CA56,849Fontana, CA: 56,690 countFontana, CA56,690Lancaster, CA: 55,574 countLancaster, CA55,574Moreno Valley, CA: 55,532 countMoreno Valley, CA55,532Elk Grove, CA: 55,504 countElk Grove, CA55,504Oxnard, CA: 54,482 countOxnard, CA54,482Ontario, CA: 53,217 countOntario, CA53,217Santa Monica, CA: 52,522 countSanta Monica, CA52,522Escondido, CA: 52,366 countEscondido, CA52,366Hayward, CA: 52,193 countHayward, CA52,193Garden Grove, CA: 49,559 countGarden Grove, CA49,559Berkeley, CA: 49,260 countBerkeley, CA49,260Santa Clara, CA: 49,057 countSanta Clara, CA49,057
count. Source: U.S. Census Bureau, American Community Survey 5-year estimates, table B25001: total housing units, US cities (incorporated places of 10,000 or more). Retrieved 2026-10-12.

Full ranking

RankCities2021
count
1Los Angeles, CA1,503,915
2San Diego, CA545,792
3San Francisco, CA404,720
4San Jose, CA339,550
5Sacramento, CA203,906
6Fresno, CA183,951
7Oakland, CA180,171
8Long Beach, CA179,479
9Bakersfield, CA130,148
10Irvine, CA115,917
11Anaheim, CA108,652
12Stockton, CA102,919
13Riverside, CA93,117
14Chula Vista, CA88,262
15Huntington Beach, CA81,429
16Santa Ana, CA79,179
17Glendale, CA78,873
18Fremont, CA78,240
19Santa Clarita, CA75,751
20Modesto, CA74,709
21Santa Rosa, CA70,412
22San Bernardino, CA65,842
23Oceanside, CA65,763
24Pasadena, CA61,376
25Sunnyvale, CA60,511
26Torrance, CA59,569
27Rancho Cucamonga, CA58,721
28Roseville, CA56,849
29Fontana, CA56,690
30Lancaster, CA55,574
31Moreno Valley, CA55,532
32Elk Grove, CA55,504
33Oxnard, CA54,482
34Ontario, CA53,217
35Santa Monica, CA52,522
36Escondido, CA52,366
37Hayward, CA52,193
38Garden Grove, CA49,559
39Berkeley, CA49,260
40Santa Clara, CA49,057
41Fullerton, CA48,877
42Palmdale, CA48,849
43Thousand Oaks, CA48,005
44Carlsbad, CA47,937
45Corona, CA47,799
46Visalia, CA47,259
47Concord, CA46,792
48Burbank, CA46,419
49Vallejo, CA46,251
50Newport Beach, CA45,875
51Chico, CA45,643
52Orange, CA45,308
53Simi Valley, CA45,230
54San Buenaventura (Ventura), CA45,042
55Salinas, CA44,317
56Pomona, CA43,239
57San Mateo, CA43,089
58Costa Mesa, CA43,085
59Richmond, CA41,622
60Clovis, CA40,815
61Indio, CA39,937
62Redding, CA39,756
63Santa Barbara, CA39,238
64Fairfield, CA39,020
65Victorville, CA38,776
66Inglewood, CA38,249
67Mountain View, CA37,778
68Palm Desert, CA37,043
69Antioch, CA36,639
70Palm Springs, CA36,475
71Temecula, CA36,147
72El Cajon, CA36,017
73Murrieta, CA35,904
74Downey, CA35,757
75Vacaville, CA35,216
76Citrus Heights, CA34,763
77Menifee, CA34,566
78Mission Viejo, CA34,293
79Daly City, CA33,771
80Walnut Creek, CA33,650
81Hemet, CA33,290
82West Covina, CA33,253
83Alameda, CA32,452
84Livermore, CA32,306
85San Leandro, CA32,109
86Redwood City, CA31,933
87Alhambra, CA31,895
88San Marcos, CA31,655
89Vista, CA31,628
90Lake Forest, CA31,448
91Napa, CA31,399
92Redondo Beach, CA31,015
93Hawthorne, CA30,566
94Hesperia, CA29,973
95San Ramon, CA29,844
96El Monte, CA29,838
97Santa Maria, CA29,817
98Pleasanton, CA28,960
99Westminster, CA28,659
100Whittier, CA28,592
101Palo Alto, CA28,560
102Merced, CA28,400
103Folsom, CA28,171
104Upland, CA28,088
105Tracy, CA28,071
106Rialto, CA27,924
107Rancho Cordova, CA27,861
108Tustin, CA27,717
109Lakewood, CA27,362
110Laguna Niguel, CA27,235
111Carson, CA27,155
112Norwalk, CA27,128
113Redlands, CA27,042
114Camarillo, CA26,927
115Manteca, CA26,864
116San Clemente, CA26,859
117Davis, CA26,811
118Chino, CA26,471
119Jurupa Valley, CA26,435
120Chino Hills, CA26,144
121Encinitas, CA25,984
122Compton, CA25,826
123Turlock, CA25,823
124La Mesa, CA25,821
125Apple Valley, CA25,749
126West Hollywood, CA25,713
127Bellflower, CA25,094
128Rocklin, CA25,059
129Buena Park, CA24,934
130Milpitas, CA24,705
131San Rafael, CA24,678
132La Quinta, CA24,533
133South Gate, CA24,350
134Yuba City, CA24,309
135Santa Cruz, CA24,036
136Yorba Linda, CA23,885
137Lodi, CA23,832
138Dublin, CA23,791
139Pittsburg, CA23,528
140Petaluma, CA23,382
141Cathedral City, CA23,304
142South San Francisco, CA22,782
143Cupertino, CA22,175
144Gardena, CA21,828
145Union City, CA21,691
146Monterey Park, CA21,650
147Woodland, CA21,565
148Novato, CA21,490
149Santee, CA21,263
150Brentwood, CA21,155
151Arcadia, CA21,075
152San Luis Obispo, CA21,032
153Tulare, CA20,338
154La Habra, CA20,290
155Aliso Viejo, CA20,170
156Lake Elsinore, CA20,082
157Montebello, CA20,040
158West Sacramento, CA19,754
159Porterville, CA19,368
160Culver City, CA19,319
161Fountain Valley, CA19,218
162Hanford, CA19,215
163Lincoln, CA19,160
164Yucaipa, CA19,130
165Perris, CA18,921
166Madera, CA18,588
167National City, CA18,541
168Campbell, CA18,484
169Diamond Bar, CA18,469
170Colton, CA18,436
171Baldwin Park, CA18,059
172Rohnert Park, CA17,804
173Gilroy, CA17,654
174Glendora, CA17,603
175Pico Rivera, CA17,388
176Brea, CA17,344
177Eastvale, CA17,293
178Rancho Santa Margarita, CA17,132
179Beverly Hills, CA17,077
180Covina, CA16,999
181Highland, CA16,980
182Dana Point, CA16,930
183Placentia, CA16,884
184Poway, CA16,881
185Danville, CA16,797
186Cypress, CA16,557
187Rancho Palos Verdes, CA16,502
188South Lake Tahoe, CA16,385
189San Bruno, CA16,194
190Beaumont, CA16,110
191Cerritos, CA16,042
192Coachella, CA15,893
193San Jacinto, CA15,743
194Lynwood, CA15,476
195Martinez, CA15,319
196Watsonville, CA15,233
197Morgan Hill, CA15,198
198Manhattan Beach, CA15,002
199La Mirada, CA15,000
200Rancho Mirage, CA14,998
201Newark, CA14,989
202Paramount, CA14,764
203Rosemead, CA14,747
204Huntington Park, CA14,601
205Monrovia, CA14,476
206Seal Beach, CA14,464
207Pacifica, CA14,453
208Pleasant Hill, CA14,366
209Monterey, CA14,151
210Azusa, CA14,130
211Lompoc, CA14,028
212Laguna Beach, CA13,936
213Ceres, CA13,925
214Los Gatos, CA13,914
215El Centro, CA13,757
216Truckee, CA13,698
217Laguna Woods, CA13,413
218San Juan Capistrano, CA13,318
219Desert Hot Springs, CA13,302
220Foster City, CA13,209
221Burlingame, CA13,188
222San Gabriel, CA13,151
223Menlo Park, CA13,069
224Claremont, CA12,731
225Oakley, CA12,673
226El Paso de Robles (Paso Robles), CA12,556
227Los Banos, CA12,459
228Temple City, CA12,445
229San Dimas, CA12,295
230Goleta, CA12,248
231Atascadero, CA12,170
232Stanton, CA12,153
233Ridgecrest, CA12,148
234Delano, CA12,101
235Eureka, CA12,089
236Hollister, CA12,056
237Laguna Hills, CA12,046
238La Verne, CA12,000
239San Carlos, CA11,903
240Moorpark, CA11,839
241Belmont, CA11,652
242Banning, CA11,646
243Saratoga, CA11,547
244Los Altos, CA11,452
245Wildomar, CA11,316
246Benicia, CA11,287
247El Cerrito, CA11,135
248Calexico, CA11,124
249Seaside, CA11,096
250South Pasadena, CA11,087

Showing the top 250 of 376. The Excel download has every row.

Other periods

About this ranking

All housing units, occupied and vacant: houses, apartments, mobile homes and rooms intended as separate living quarters. United States: American Community Survey five-year estimate, where the period shown is the last year of the five-year span.

A survey estimate averaged over five years, not a count on one date.

Every value in the ranking comes from the same publisher and the same period, so the cities are compared on one definition. Equal values share a rank.

How to cite

U.S. Census Bureau. American Community Survey 5-year estimates, table B25001: total housing units, US cities (incorporated places of 10,000 or more). https://www2.census.gov/programs-surveys/acs/summary_file/2021/table-based-SF/data/5YRData/acsdt5y2021-b25001.dat. Retrieved 2026-10-12.

Citation styles

The publisher is the author. Invokely is named only as the place the figures were read, where a style asks for it.

APA 7

U.S. Census Bureau. (2026). American Community Survey 5-year estimates, table B25001: total housing units, US cities (incorporated places of 10,000 or more) (Cities in California by housing units, 2021) [Data set]. Retrieved October 12, 2026, from https://www2.census.gov/programs-surveys/acs/summary_file/2021/table-based-SF/data/5YRData/acsdt5y2021-b25001.dat

MLA 9

American Community Survey 5-year estimates, table B25001: total housing units, US cities (incorporated places of 10,000 or more), Cities in California by housing units, 2021. U.S. Census Bureau, 29 Jan. 2026, https://www2.census.gov/programs-surveys/acs/summary_file/2021/table-based-SF/data/5YRData/acsdt5y2021-b25001.dat. Invokely, https://invokely.ai/rankings/housing-units/california-cities?period=2021. Accessed 12 Oct. 2026.

Chicago (author-date)

U.S. Census Bureau. 2026. American Community Survey 5-year estimates, table B25001: total housing units, US cities (incorporated places of 10,000 or more). Cities in California by housing units, 2021. Dataset. Accessed October 12, 2026. https://www2.census.gov/programs-surveys/acs/summary_file/2021/table-based-SF/data/5YRData/acsdt5y2021-b25001.dat. Also distributed by Invokely, https://invokely.ai/rankings/housing-units/california-cities?period=2021.

Harvard

U.S. Census Bureau (2026) American Community Survey 5-year estimates, table B25001: total housing units, US cities (incorporated places of 10,000 or more), Cities in California by housing units, 2021 [Dataset]. Available at: https://www2.census.gov/programs-surveys/acs/summary_file/2021/table-based-SF/data/5YRData/acsdt5y2021-b25001.dat, via Invokely: https://invokely.ai/rankings/housing-units/california-cities?period=2021 (Accessed: 12 October 2026).

BibTeX
@misc{census_cities_in_california_by_2021,
  author = {{U.S. Census Bureau}},
  title = {{American Community Survey 5-year estimates, table B25001: total housing units, US cities (incorporated places of 10,000 or more): Cities in California by housing units, 2021}},
  year = {2026},
  howpublished = {Data set},
  url = {https://www2.census.gov/programs-surveys/acs/summary_file/2021/table-based-SF/data/5YRData/acsdt5y2021-b25001.dat},
  urldate = {2026-10-12},
  note = {Accessed via Invokely, https://invokely.ai/rankings/housing-units/california-cities?period=2021. Publisher attribution: U.S. Census Bureau. American Community Survey 5-year estimates, table B25001: total housing units, US cities (incorporated places of 10,000 or more). https://www2.census.gov/programs-surveys/acs/summary\_file/2021/table-based-SF/data/5YRData/acsdt5y2021-b25001.dat. Retrieved 2026-10-12.},
}
RIS
TY  - DATA
AU  - U.S. Census Bureau
TI  - American Community Survey 5-year estimates, table B25001: total housing units, US cities (incorporated places of 10,000 or more): Cities in California by housing units, 2021
PY  - 2026
DA  - 2026/01/29
PB  - U.S. Census Bureau
DB  - Invokely
UR  - https://www2.census.gov/programs-surveys/acs/summary_file/2021/table-based-SF/data/5YRData/acsdt5y2021-b25001.dat
L2  - https://invokely.ai/rankings/housing-units/california-cities?period=2021
Y2  - 2026/10/12
N1  - Accessed via Invokely, https://invokely.ai/rankings/housing-units/california-cities?period=2021.
N1  - Publisher attribution: U.S. Census Bureau. American Community Survey 5-year estimates, table B25001: total housing units, US cities (incorporated places of 10,000 or more). https://www2.census.gov/programs-surveys/acs/summary_file/2021/table-based-SF/data/5YRData/acsdt5y2021-b25001.dat. Retrieved 2026-10-12.
ER  - 
Embed this chart

Paste this code into a web page or a blog post. The chart shows the latest figures as they are published, with the source and a link back to this page.

Sites that read oEmbed links, such as WordPress, can show the chart when you paste the link to this page.

Use this data in your AI agent

Invokely serves this figure to AI assistants through MCP and to code through a REST API, with the source and citation attached. Ask your assistant:

Rank Cities in California by housing units using official data, and cite the source.
rank_places {"indicator":"housing_units","level":"municipality","within":"California","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=housing_units&level=municipality&within=California&limit=10

Connect Claude, ChatGPT or Cursor in one step. The trial answers 25 calls a day without an account.

Questions

Which city has the highest housing units?

Los Angeles, CA, with 1.5 million in 2021, according to the U.S. Census Bureau.

Which city has the lowest housing units?

Farmersville, CA, with 2,870 in 2021.

Where does this ranking come from?

Every value comes from one source and one period, so the places are comparable: U.S. Census Bureau, American Community Survey 5-year estimates, table B25001: total housing units, US cities (incorporated places of 10,000 or more). Retrieved 2026-10-12.

Housing units: other rankings

Cities in California: more rankings