This study aimed to examine the effect of fair value accounting on earnings management. The study also aimed to determine the companies’ status in Indonesia Sharia Stock Index (ISSI) in moderating the effect of fair value on earnings management. We analysis 192 the non-financial sector companies listed on the Indonesia Stock Exchange from the years of 2012-2016. The result shows that fair value has no significant effect on earnings management. But, when fair value is divided based on fair value hierarchies, the result shows that only hierarchy 2 and 3 fair value has significant effect on earning management. In addition, the other result shows that the companies listed in the Indonesia Sharia Stock Index (ISSI) reduce the positive effect of fair value on earnings management, especially the effect of hierarchy 2 and 3 fair value on earnings management.