Interest is charged on what you still owe, and early on the balance barely moves, so you pay interest on nearly the full loan for years. An extra principal payment jumps that queue: it lands straight on the balance, next month's interest is worked out on a smaller number, and the saving keeps compounding because every payment after that meets a smaller balance too.
Take a $350,000 mortgage at 7% with 30 years left. The normal payment is about $2,329 a month and the total interest comes to roughly $488,300. Add $200 a month in extra principal and the loan clears about six years and four months early, with about $122,100 less interest paid. That is the math behind the numbers above.
Make sure it goes to principal
There is one detail that trips people up. Some servicers hold extra money as an advance payment toward future bills instead of applying it to principal, which saves you nothing. When you set up extra payments, tell your servicer in writing that the extra amount is principal only, then check your next statement to confirm the balance actually fell by the extra amount. It takes one message and it is worth it.