Pregnancy lasts about 40 weeks. The third trimester of pregnancy refers to weeks 28 through 40.