A GTT is typically recommended between the 24th and 28th weeks of pregnancy for all pregnant women. However, it may be done earlier if there are risk factors such as a history of GDM, obesity, or a family history of diabetes. In non-pregnant women, a GTT may be used to diagnose type 2 diabetes or insulin resistance.