Lochearn is an unincorporated community and census-designated place in Baltimore County, Maryland, immediately to the west of the City of Baltimore. The population was 25,333 at the 2010 census.