San Francisco Metropolitan Area officially known as the San Francisco-Oakland-Hayward, CA Metropolitan Statistical Area is a Metropolitan Statistical Area (MSA) within the San Francisco Bay Area, which includes a number of its core cities and counties. It is the eleventh-most populated metropolitan area in the United States. It is defined by the Office of Management and Budget to include core areas more directly economically influenced by San Francisco rather than other nearby cities such as San Jose which has its own MSA, the San Jose–Sunnyvale–Santa Clara, CA MSA. Until 2013, this MSA was known as the San Francisco–Oakland–Fremont, CA MSA.
The Federal Government definition states that it consists of 5 counties, grouped into three divisions. Those 5 counties are San Francisco, Alameda, Marin, Contra Costa, and San Mateo County. The three divisions are Oakland–Hayward–Berkeley (Alameda and Contra Costa Counties), San Francisco–Redwood City–South San Francisco (San Francisco and San Mateo Counties), and San Rafael (Marin County).
The MSA is a subset of the 9 county San Francisco Bay Area, as well as the 12 county Combined Statistical Area, the San Jose–San Francisco–Oakland, CA CSA. Three North Bay counties are not in the MSA; instead Sonoma County comprises the Santa Rosa, CA MSA, Napa County comprises the Napa, CA MSA, and Solano County is the Vallejo–Fairfield, CA MSA.