Ogata (緒方町 Ogata-machi?) was a town located in Ōno District, Ōita Prefecture, Japan.
As of 2003, the town had an estimated population of 6,277 and the density of 42.42 persons per km². The total area was 147.96 km².
On March 31, 2005, Ogata, along with the towns of Asaji, Inukai, Mie and Ōno, and the villages of Chitose and Kiyokawa (all from Ōno District), was merged to create the city of Bungo-Ōno.
The history of Ogata town is based on ancient Japanese history that includes the legendary hero Ogata no Saburo Koreyoshi. Saburo, feared by many as the "descendent of a giant serpent", also appears in the Tale of Heike and is said to have contributed greatly to Minamoto no Yoshitsune's success in the battle of Dan-no-ura. Ogata town is home to three shrines built by Saburo, called "Ogata Sansha". Saburo himself is enshrined in one of these, called the "Ninomiya Hachiman Shrine", where his name is still transmitted to today's generation. Ogata Saburo Koreyoshi's younger brother Ogata Shuma "Jiraiya" is believed to be the first "Ninjia" in Japanese folklore.