No, it is not illegal to be pregnant before marriage. While many cultures view it as inappropriate or even immoral, unmarried individuals who become pregnant face no legal repercussions for their pregnancy.