Mikkyō (密教?, lit. "secret teachings", "esoteric, Tantric Buddhism") is a Japanese term that refers to the esoteric Vajrayāna practices of the Shingon Buddhist school and the related practices that make up part of the Tendai and Kegon schools.
Mikkyō is a "lineage tradition": meaning that, as well as instruction in the teachings and practices of the tradition, it also involves and requires “kanjo enablements” - initiatorial empowerment-transmissions - from a master of the Mikkyō disciplines.
However, it was in the early 9th Century that the formative concepts which would in time become the core of “mainstream” Mikkyo - Shingon and Tendai - were brought to Japan - initially by the monks Kūkai (the founder of Shingon) and Saichō (the founder of Tendai), both of whom had traveled to China to study.
To these initial doctrines & beliefs were later added teachings concerning the powers of mysticism, magic and healing that had gradually begun to reach Japan with the arrival of itinerant monks, priests, hermits and shamanic practitioners, forced for various reasons to flee from China after the fall of the Tang Dynasty.
Blending easily with elements of Shinto practice and the pre-Buddhist folk traditions of sangaku-shinkō - “spiritual practices connected with sacred mountains”, these imported teachings, combining Chinese Tantric Buddhism, Chinese Yin-Yang magic, Taoism and, at a later date, Tibetan Vajrayāna Buddhism, evolved to become the esoteric Japanese tradition that is Mikkyō.