In 2006, Myojin moved to Gamba Osaka which was managed by Akira Nishino. He played as regular player with many Japan national team player and Gamba won the many title, 2007 J.League Cup, 2008 and 2009 Emperor's Cup. In Asia, Gamba also won the champions in 2008 AFC Champions League and the 3rd place in 2008 Club World Cup. This is the golden era in the club history and he was one of the central player under manager Nishino. However manager Nishino left Gamba end of 2011 season and the club performance deteriorated soon. In 2012, Gamba finished at the 17th place of 18 clubs and was relegated to J2 League. Although his opportunity to play decreased from 2013, Gamba won the champions in 2013 J2 League and was returned to J1. In 2014, Gamba won all three major title in Japan, J1 League, J.League Cup and Emperor's Cup. He resigned end of 2015 season.