ABC said Monday that Aniston will portray a therapist who is being seen by Cox's character. It's a one-episode visit, scheduled for Sept. 22.
The two actresses starred for many years on NBC's "Friends."
Cox is in her second season of "Cougar Town," where she plays a character hungry for younger men.
Aniston is promoting her new movie, "The Switch."