Jennifer Aniston is rejoining Courteney Cox on primetime TV, but this time they are anything but friends.

Aniston guest stars in the season finale of Cox's new FX Networks show "Dirt," the network said. She plays Tina Harrod, a rival magazine editor of Cox's ruthless tabloid queen, Lucy Spiller.

The episode, which airs March 27, marks the first time the two "Friends" stars have worked together since the popular, long-running sitcom went off the air in 2004.

"Dirt" takes a dark look at the relationship between the entertainment industry and the tabloids as it follows Cox as the hard-charging editor.

Cox and her husband, David Arquette, are executive producers on the series with creator Matthew Carnahan and writer Joel Fields.

FX Networks is owned by News Corp., the parent company to FOX News.