This invention relates to processes and intermediates for making {1-{1-[3-fluoro-2-(trifluoromethyl)isonicotinoyl]piperidin-4-yl}-3-[4-(7H-pyrrolo[2,3-d]pyrimidin-4-yl)-1H-pyrazol-1-yl]azetidin-3-yl}acetonitrile, useful in the treatment of diseases related to the activity of Janus kinases (JAK) including inflammatory disorders, autoimmune disorders, cancer, and other diseases.