Whole-blood TYK2 expression and the risk of type 1 diabetes did not co-localise, whereas when using the missense mutation rs2304256 in TYK2 as an instrument in Mendelian randomisation, TYK2 expression was associated with type 1 diabetes risk. Here, TYK2 is linked to type 1 diabetes mellitus.