Matthew Morrison - who plays Will Schuester in the popular Fox series - revealed that he will be covering the pop track and is currently watching the group on YouTube in preparation.
Morrison told The Sun: "I've just heard of them, they're really taking over the States. We are covering one of their songs on Glee - 'What Makes You Beautiful'."
He added: "I need to YouTube it to practise."
The star joked that being featured on the show means the X Factor boyband have really cracked the States and that it will only gain them more exposure.
"They've made it now though they're on Glee," he quipped. "This will probably help their record sales too."
One Direction topped the US Billboard 200 last week with their debut album Up All Night.
Their debut US single 'What Makes You Beautiful' has peaked at number 19 on the Hot 100.
> One Direction 'have had a few flashers in the US'
Watch the music video for One Direction's 'What Makes You Beautiful' below: