If your employer offers a 401k match, take the full match before you send extra money to your mortgage. That is the simplest answer, and it is right for most homeowners. A match is part of your pay. If you skip it, you are leaving money on the table. No mortgage prepayment can beat a guaranteed immediate boost like that. After you capture the match, the decision becomes more of a balancing act. You still want to pay off your mortgage faster, but you do not want to wreck your retirement plan to do it.
A 401k match works like this. Your employer promises to add money to your account when you contribute. The common deal is fifty cents for every dollar you put in, up to a certain percentage of your pay. Some employers are more generous, some less. If you put in enough to get the full match, you are getting an instant return on that part of your savings. That return is hard to beat. It is not a market gamble. It is part of your compensation package, and you should treat it like salary. You would not tell your boss to keep part of your paycheck. Do not tell your employer to keep the match either.
Extra mortgage payments are different. They are a good move when they fit your larger plan, but they do not come with free money. Every extra dollar you send to your lender reduces your loan balance and saves you interest over time. That can be a strong, steady benefit. If your mortgage rate is six percent, paying it down early is like earning six percent on that money, before you think about taxes and other details. That is not bad. But it is not an instant fifty percent or one hundred percent gain like a match can be. So the match comes first. The extra mortgage payment comes later, after the basics are covered.
The real question is what to do after you get the full match. That is where a long-term plan matters. You need to look at your whole financial life, not just one number. First, make sure you have an emergency fund. A paid-down mortgage is nice, but it will not help you fix a broken furnace or cover a few months of bills after a job loss. Keep enough cash in a safe place to handle normal surprises. Second, pay off any high-interest debt, like credit cards. No mortgage payoff plan makes sense if you are carrying twenty percent credit card balances. Third, keep saving for retirement beyond the match. Your mortgage will end someday. Retirement can last decades, and you need more than a matched account to cover it. Your retirement account also gets years to grow. Time is one of the strongest tools you have, and starting earlier gives your money more chances to grow, which matters a great deal over the long run.
Then decide how much extra goes to the mortgage. There is no single rule that fits everyone. If your mortgage rate is low and your retirement savings are behind, put more toward retirement. If your mortgage rate is high and you have a solid emergency fund and a healthy retirement contribution, extra mortgage payments can be a smart choice. If you are close to retirement age, think carefully. Paying off the house can make your monthly life easier, but you still need cash and retirement savings to live on. A paid-off house with no savings is not a comfortable retirement. A healthy retirement account with a manageable mortgage payment can be fine.
Do not get trapped by the idea that you must choose one or the other forever. You can do both in phases. Start by getting the full match. Build your emergency fund. Pay off high-interest debt. Then split extra money between retirement and mortgage prepayment in a way that matches your goals. Review the plan once a year or when your income, rate, or family situation changes. The goal is not to win an argument about which is better. The goal is to build a stable long-term plan that protects your future and reduces your mortgage without leaving free money behind. For most people, the order is clear: full 401k match first, then extra mortgage payments with money that you can truly spare.