The duration of fever in pregnancy depends on the cause of the fever. A fever caused due to common flu may go away within 4 days but fever caused due to viral infection may last longer. If your temperature shoots beyond 100, it is a good idea to get in touch with your doctor right away.