Edgar is a census-designated place and unincorporated community in Carbon County, Montana, United States. As of the 2020 census, Edgar had a population of 110. 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.