I would first make sure you have enough liquid funds for emergencies, or if you lose your job, etc. At least you'll be able to pay your mortgage still in that case. If you already have that I would make sure you're contributing enough to your 401K to advantage of the company match. After that you can determine if it's better to put more towards your mortgage or retirement.