Dewar is a town in Okmulgee County, Oklahoma, United States. The population was 818 at the 2010 census, a decline of 3.4 percent from 919 at the 2000 census. Founded in 1909 by workers for the Missouri, Oklahoma and Gulf Railway, it was named for William Peter Dewar, a railroad official. It incorporated in 1909.