The Spider-Man actress dated Gyllenhaal for around two years but the pair split in 2004.
They had lived together and shared a dog called Atticus during their relationship.
Speaking to Allure, Dunst said: "It would be nice to see him but we're not good friends."
The 27-year-old went on to say that she is happy being single, adding: "My girlfriends will sleep in bed with me, but no guests, not long-term, anyway."
Dunst was linked to Virgin Suicides co-star Josh Hartnett earlier this year, while Gyllenhaal has been dating Reese Witherspoon since 2007.