Iggy Azalea has collaborated with Jennifer Lopez on a new song.

The 'Fancy' rapper has confirmed she has recorded a track with the 'Same Girl' hitmaker for Jennifer's new album 'A.K.A'.

Talking about working with the star during an interview with DJ Ryan Seacrest, she said: ''She actually only asked me about two weeks ago, so I didn't have to keep the secret for too long.

''When I opened on tour for Beyoncé I had to keep that under wraps for months, which really killed me.''

The Australian singer described keeping her mouth shut about the collaboration as a ''breeze'' because it wasn't long before she could spill the beans.

She went on: ''I love her. I definitely used to sit in my bedroom as a young girl and lip-sync Jennifer Lopez songs, so it's very cool to have a song with her on her album.''

Iggy has recently worked with Rita Ora, Ariana Grande and Charli XCX and recently released her debut album 'The New Classic'.

Jennifer's eighth studio album is due for release on June 17.