TMZ reports that the singer was on location at her home in Malibu for two days for the Judges' Houses stage of the singing competition.
Although temperatures in California are currently exceeding 100°F (37.8°C) , Spears filmed most of the segment outside.
She was joined by guest will.i.am, who serves as a judge on the UK version of The Voice.
The season two premiere of The X Factor USA broke a record for most social media comments.
The X Factor USA continues to air Wednesdays and Thursdays at 8/7c on Fox.
Watch a clip from the show below: