Do dentist prescribe pain medication after a root canal?

yes they will a mid grade painkiller that you take for about a week before bedtime,