The Th17 pathway has been implicated in autoimmune diseases. The retinoic acid receptor-related orphan receptor C2 (RORγt) is a master regulator of Th17 cells and controls the expression of IL-17A. RORγt is expressed primarily in IL-17A-producing lymphoid cells. Here we describe a virtual screen of the ligand-binding pocket and subsequent screen in a binding assay that identified the 1-benzyl-4',5'-dihydrospiro[piperidine-4,7'-thieno[2,3-c]pyran]-2'-carboxamide scaffold as a starting point for optimization of binding affinity and functional activity guided by structure-based design. Compound 12 demonstrated activity in a mouse PK/PD model and efficacy in an inflammatory arthritis mouse model that were used to define the level and duration of target engagement required for efficacy in vivo. Further optimization to improve ADME and physicochemical properties with guidance from simulations and modeling provided compound 22, which is projected to achieve the level and duration of target engagement required for efficacy in the clinic.