Moravac (Serbian: Моравац) is a locality in Serbia situated in the municipality of Aleksinac, in the Nišava District. Moravac has a population of 1785 as recorded in the 2002 census.