The pop singer and his bandmates taped a guest appearance on Corden's British quiz show A League of Their Own, and Styles became centre of attention when he climbed onto Corden's lap, put his hand on his face and leaned in for a kiss.
The pair locked lips to re-enact a 'kiss-cam' moment, which are seen at many U.S. sporting events.
Styles was recently forced to straighten out rumours about his sexuality by telling Britain's GQ magazine he is definitely not romancing his Dj friend Nick Grimshaw, saying, "We're not dating, no. We're just friends. Bisexual? Me? I don't think so. I'm pretty sure I'm not."
The episode of A League Of Their Own featuring Styles, Louis Tomlinson and Niall Horan airs in the U.K. on 30 August (13).