Provided herein are small molecule Epstein-Barr virus-induced G-protein coupled receptor 2 (EBI2) modulator compounds, compositions comprising the compounds, and methods of using the compounds and compositions comprising the compounds. EBI2 is a therapeutic target for the treatment of a variety of diseases or conditions. In some embodiments, EBI2 is a therapeutic target for the treatment of diseases or conditions such as, but not limited to, autoimmune diseases or conditions, cancer, and cardiovascular disease.