Heiji (平治) was a Japanese era name (年号,, nengō,; lit. "year name") after Hōgen and before Eiryaku. This period started in April 1159 and ended in January 1160. During this time, the emperor was Emperor Nijō-tennō (二条天皇).
The Tale of Heiji is about this era. The work tells the story of the samurai who were part of the Heiji Rebellion. Along with the Tale of Hōgen and the Tale of Heike, these three war stories tell about the rise and fall of the Minamoto clan and the Taira clan.
| Heiji | 1st | 2nd |
| Gregorian | 1159 | 1160 |
| Preceded by: Hōgen |
Era or nengō: Heiji |
Succeeded by: Eiryaku |