Hirakata (枚方市, Hirakata-shi) is a city in northeastern Osaka Prefecture, Japan. As of 31 December 2021, the city had an estimated population of 397,681 in 183075 households and a population density of 6100 persons per km2. The total area of the city is 65.12 square kilometres (25.14 sq mi).