During the Spring and Autumn Period (770-476 BC) and the Warring States Period (475-221 BC), Maoming city belonged to Baiyue.
On April 28, 1956, an oil shale refinery with an annual output of 1 million metric tons of crude oil was approved to be built in Maoming.