•The expression of IL-17 and CCR7 by iNKT cells are related to endometriosis-associated pain symptoms. The gene discussed is IL17A; the disease is endometriosis.