Hank discovers Walter's secret in Breaking Bad season 5, episode 8, "Gliding All Over." Walt has two big advantages over his DEA special agent brother-in-law: Walt is much smarter, and Hank grossly underestimates him.