We describe the preparation of thymic slices that, in combination with flow cytometry, can be used to model positive and negative selection of developing T cells. Thymic slices can also be adapted for the in situ analysis of thymocyte migration, localization, and signaling via immunofluorescence and two-photon microscopy.