Just a few days. If you are continuing to have swelling after 5 days, speak to the oral surgeon to make sure there is no infection present.
Be sure to follow your oral surgeon's instructions of cold and hot applications, as well as anti-inflammatory meds. Typically, a steroid is given at the time of extraction to help with swelling of the tissues. Be sure to take all prescribed meds.