A 401(k) is a prime way to build wealth, but there are plenty of pitfalls to watch for.

Anytime money is withdrawn from the account before the age of 59.5, a 10% penalty typically applies. 

"If you look at the mistake millenials make, one out of three, when they leave their [job], cash out the 401k plan," said David Bach, founder of AE Wealth Management and a panelist on TheStreet's Investing Strategies for Millennials webinar. "If you want to destroy your retirement plan, leave your company and cash out it out."

Check out our entire millennial investing roundtable here.

More from Video

Why One Money Manager Is Telling Clients to Raise Cash Right Now

Why One Money Manager Is Telling Clients to Raise Cash Right Now

Commodities Prices Have Crashed -- Time to Worry About Economy In 2019?

Commodities Prices Have Crashed -- Time to Worry About Economy In 2019?

Amgen: Cramer Discusses the AAP Portfolio's New Edition

Amgen: Cramer Discusses the AAP Portfolio's New Edition

Cramer on Constellation Brands, Beer and Pot

Cramer on Constellation Brands, Beer and Pot

60 Seconds: Get Financial Aid to Pay For College

60 Seconds: Get Financial Aid to Pay For College