Medication tolerance, or drug tolerance, occurs when your body gets used to a medication so that either more medication is needed to give you the desired effect or a different medication is needed. Depending on the drug, tolerance can develop in several days or happen more gradually during a number of weeks.