The 65-year-old says it has been a hard decision to make, but is a good one for both her and her character.
And she added she's looking forward to making her return to Albert Square in 2004 because it feels "like home".
Barbara Windsor was a really famous saucy actress in the 1960s. But she made her first EastEnders appearance in 1991.
Since then, she's had a tough time with her troublesome children and illness.
Son Grant's run off, her other son Phil is trying to track down his baby daughter abroad and her daughter Sam can't find the right man!
A new landlord is set to take over the management of the Queen Vic soon.