Organ infiltration by T cells depends on the adhesion molecules expressed in these sites and on homing receptors expressed by the T cells. Here, we have studied which form of priming can enable T cells to home to pancreatic islets. To this end, we have used transgenic mice expressing the model autoantigen ovalbumin in pancreatic islets and transgenic ovalbumin-specific CD4 and CD8 T cells. We demonstrate that these T cells were imprinted with homing receptor patterns characteristic for the site of priming, such as alpha4beta7 integrin for mucosal antigen delivery or functionally active alpha4beta1 integrin for islet autoantigens. The adhesion molecules corresponding to these receptors were found to be constitutively expressed in islets, enabling T cells bearing these receptors to infiltrate the islets and to cause diabetes. Disease was prevented only by blockade of the endothelial adhesion molecule, ligand of homing receptors with which the T cells were imprinted. Thus, different priming locations induced different homing mechanisms, allowing T cells to target the islets. This may contribute to the susceptibility of islets to T-cell-mediated attack. Furthermore, it may pertain to the design of adhesion-modulating therapies alone or in combination with external autoantigen administration.