It depends on what your doctor used. Most local anesthetic medications last about an hour. Some can last up to 24 hours, and there is a newer one that may not yet be available everywhere that reports that it can last up to 3 days.
Some local anesthetics wear off within 30 minutes, while other are specifically designed to be active for up to 20 hours. It depends on the type and location of the drug. Talk to your anesthesiologist about medications that they will use.
Content on HealthTap (including answers) should not be used for medical advice, diagnosis, or treatment, and interactions on HealthTap do not create a doctor-patient relationship. Never disregard or delay professional medical advice in person because of anything on HealthTap. Call your doctor or 911 if you think you may have a medical emergency.