Ingrown toenails, a condition also known as onychocryptosis, occur when the edge of a toenail cuts into the tissue surrounding it or when the skin around a toe grows over the bed of the toenail.