The Onmyoryo was one of the bureaus in Nakatsukasasho (Ministry of Central Affairs) under the Ritsuryo system (a system of centralized government based on the ritsuryo code).
陰陽寮（おんみょうりょう）は、律令制日本の律令制において中務省に属する機関のひとつ。