Edgar is a census-designated place and unincorporated community in Carbon County, Montana, United States. As of the 2010 census it had a population of 114. Edgar has a post office with a ZIP code 59026. The post office was established May 28, 1909 with John J. Thornton as its first postmaster. Thornton named the town after his brother.