Okabe is Kyon and Haruhi's homeroom teacher, in both their first and second year at North High. Source: Haruhi Wiki