Parents who are still paying off their student loans are determined to save for their own children’s college education to help them avoid repeating the vicious cycle of debt, according to a survey by the Washington-based College Savings Foundation.

“We are finding that parents — particularly in the millennial generation — are much better at delayed gratification and setting goals and saving to reach them,” said Mary Morris, chair of the College Savings Foundation and CEO of Virginia College Savings Plan in Richmond, Va. “We find almost a third of the survey respondents are saving with a 529 plan and that a significant majority say saving is their No. 1 strategy for paying for their children’s cost of college.”

Nearly half of parents who haven’t paid off their own student loans have saved at least $5,000 toward college costs for each of their children.

The foundation’s ninth annual College Savings survey of more than 800 parents across the country at all income levels found 82 percent of those with college debt said their own experience made them consider other strategies for their children, rather than relying heavily on student loans or government financial aid.

Reducing the burden of student debt on the children is important, said Pittsburgh financial adviser Robert Fragasso, although parents’ No. 1 priority during their prime working years should be to put themselves in a better position to retire securely.

“Ideally, you do both. Practically, we know that doesn’t work for most people,” said Fragasso, chairman and CEO of Fragasso Financial Advisors.

“For the majority who can’t, I would counsel pre-funding for their children for their freshman year in a 529 plan. … once the children have established their grade record, they have a heightened chance of getting scholarships and grants,” he said.

“Meanwhile, the parents can furiously pay down their own student debt. And if there’s any time left over once that’s done, start pre-funding sophomore and other years for the kids.”

Morris said there are many reasons that student debt has become a multi-generational burden for many families.

“You have more people going back to college in later years to better prepare for the job market,” she said. “If they are still paying off student loans 30 years later, they probably had some significant challenges in their adult life” such as job losses and illness.”