Payroll systems will often cut you off at the limit, since reversing excess contributions can be a headache for everyone involved. Of course if you switch jobs partway through the year your new company will not be aware of how much you contributed toward your old company's plan, or whether those contributions apply toward the same limit as your new company's plan operates under.