A few days
Sometimes there can still be some pain after root canal
treatment, though it should be significantly dimenished from your pre-treatment pain.
It may last a few days or even weeks, but should be improving daily. If it persists, be sure to call your treating dentist or endodontist.