Oil City is an unincorporated community in Caroline County, Maryland, United States.[1] It is located at the junction of Maryland routes 313 and 317.