You can use an IRC 83(b) election to get capital gain treatment for your employers stock held in your 401(k). Your 401(k) must be funded with your employers stock.