According to the article on the “
Immaculate Conception” in the 1917
Catholic Encyclopedia, Mary was not exempt from the temporal effects of Original Sin:
The formal active essence of original sin was not removed from her soul, as it is
removed from others by baptism; it was
excluded, it never was in her soul. Simultaneously with the exclusion of sin. The state of original sanctity, innocence, and justice, as opposed to original sin, was conferred upon her, by which gift every stain and fault, all depraved emotions, passions, and debilities, essentially pertaining to original sin, were excluded.
But she was not made exempt from the temporal penalties of Adam – from sorrow, bodily infirmities, and death. Its my guess that birth pains would fall in the catagory of ‘temporal penalties of Adam.’ So Mary may indeed have experience some birth pains. See Revelation 12:2. On the other hand, the Church teaches that Jesus’ birth was miraculous, that Mary preserved her virginity during his birth. So, I don’t know for sure.
The second century Christian writing called the
Protoevangelium of James, 17-19, which describes the events surrounding Jesus’ birth in detail, is silent on the matter of Mary having birth pains; it only mentions that Mary had an awareness that the time for Jesus’ birth was at hand.