|Coordinates: 31°8′57″N 90°27′41″W / 31.14917°N 90.46139°W|
|• Mayor||Tammy Witherspoon|
|• Total||6.19 sq mi (16.03 km2)|
|• Land||6.14 sq mi (15.91 km2)|
|• Water||0.04 sq mi (0.12 km2)|
|Elevation||305 ft (93 m)|
|• Density||306.53/sq mi (118.36/km2)|
|Time zone||UTC-6 ( Central (CST))|
|• Summer ( DST)||UTC-5 (CDT)|
|GNIS feature ID||0673065|
Magnolia is a city in Pike County, Mississippi, United States. The population was 2,420 at the 2010 census. It is the county seat of Pike County,  which lies within the McComb, Mississippi Micropolitan Statistical Area.
Magnolia was founded in 1856 by Ansel H. Prewett, a local civic leader and cotton planter. Knowing that the approaching New Orleans, Jackson, and Great Northern Railroad (now the Illinois Central Railroad) would need a station for water and fuel, Prewett sold a right-of-way to the railroad company – for one dollar, according to legend – and divided a section of his plantation into town lots, which he sold to investors. Prewett, while serving as temporary sheriff of Pike County, was killed by outlaws in the early 1870s escorting a prisoner on the very railroad that made Magnolia a viable community. 
Magnolia grew rapidly in the 1860s, and in the late nineteenth century Magnolia served as a popular small-town resort for wealthy New Orleanians, who took trains north from New Orleans to enjoy Magnolia's fresh air and sparkling creeks. At one time early Magnolia boasted an opera house, skating rink, and several hotels that catered largely to these tourists.
In 1860 Magnolia's first newspaper, the Grand Trunk Magnolian, was established by John Waddill. It did not last the war and was succeeded by the establishment of the Magnolia Gazette by J.D. Burke in 1872. The Magnolia Herald was established by Luke W. Conerly in 1875 and he continued as its proprietor and editor until 1878. 
According to the United States Census Bureau, the city has a total area of 3.3 square miles (8.5 km2), of which 3.2 square miles (8.3 km2) is land and 0.1 square miles (0.26 km2) (1.52%) is water.
Within the city limits there is the confluence of the Minnehaha River and the Little Tangipahoa River.
|U.S. Decennial Census |
|Black or African American||1,276||67.76%|
|Hispanic or Latino||24||1.27%|
As of the 2020 United States census, there were 1,883 people, 825 households, and 444 families residing in the city.
The City of Magnolia is served by the South Pike School District. The town has one public library.
The climate in this area is characterized by hot, humid summers and generally mild to cool winters. According to the Köppen Climate Classification system, Magnolia has a humid subtropical climate, abbreviated "Cfa" on climate maps.