Swelling may occur at any time during pregnancy, although it is most common during the fifth month and can worsen during the third trimester.