Hepu County, county under the jurisdiction of Beihai City, Guangxi Zhuang Autonomous Region, is located in the southern end of the Guangxi Zhuang Autonomous Region, the northern part of Beihai City, the northeastern shore of the Gulf of Tonkin, the northern pillow of hills, the southern coast of the sea, the central slanting across the alluvial plain, the climate is controlled by the monsoon circulation, subtropical oceanic monsoon climate, the rain and heat of the same season, the winter is dry in the summer and wet in the summer, the summer without heat and the winter without severe cold, with a total area of 2,783 square kilometers of the administrative area, and as of June 2023, the The county has a total of 14 towns and 1 township. As of the end of 2022, the county had a resident population of 876,800.
Hepu County was once subordinate to Qinlian Prefecture of Guangdong Province, Qinzhou Prefecture of Guangxi Province, Hepu Prefecture of Guangdong Province, and Qinzhou District of Guangxi Zhuang Autonomous Region in that order. Nanliujiang River passes through Dangjiang Town and Shagang Town of Hepu County, and then goes out to the sea and enters the Gulf of Tonkin, and is transited by the Qinzhou-Beihai Railway, Lanhai Expressway, National Highway 325, and National Highway 209. It is one of the "advanced plains greening counties in China". It is one of the starting ports of China's Han Dynasty Maritime Silk Road, has many historical and cultural relics of the Han Dynasty, and is rich in pearls, prawns, green crabs, sugarcane, sericulture and other agricultural products, is the "hometown of China's South Pearl". 2023, May 10, was selected as a national innovative county of the "science and technology to support the development of industry theme". On May 10, 2023, Hepu County was selected as a national innovative county (city) under the theme of "Science and Technology Supporting Industrial Development".
In 2022, Hepu County realized a gross domestic product (GDP) of 35.087 billion yuan, an increase of 2.0% over the previous year at comparable prices.