Purpose Some researchers regard discretionary accrual (DA) as one of the factors that drive corporate managers to conduct tax planning (Scott, 2009; Basri and Buchari, 2017). Based on agency theory and positive accounting theory, corporate managers can transform accounting information and manipulate firm earnings to reduce tax liability. There is a lot of research concerning earnings management and tax planning in the developed economy. These studies include Wang and Chen (2012) and Pettersson and Wu (2015). In the emerging economies, it includes Jamei and Khedri (2016), Kurniasih and Sulardi Suranta (2017), Prastiwi (2017), Almashaqbeh et al. (2018), Bayunanda et al. (2018), Rani et al. (2018) and Kałdoński and Jewartowski (2019). It is important to note that none of the research mentioned above has evaluated the impact of real earnings management (REM) on tax planning in Nigeria. While in the developed economy only Kałdoński and Jewartowski (2019) used REM as an explanatory variable, while the majority of studies used DA. Consequently, no study has used REM to moderate the relationship between financial attributes and tax planning. Despite the widespread notion, as well as positive accounting theory, tax planning theory that financial attributes (profitability, leverage, liquidity and firm growth), REM and DA motivate tax planning, previous investigations have produced mixed results (Dwenger and Steiner, 2009; Wang and Chen, 2012; Chen and Zolotoy, 2014; Aghouei and Moradi, 2015; Pettersson and Wu, 2015; Ribeiro, 2015; Chen et al., 2016; Jamei and Khedri, 2016; Ogbeide, 2017; Yuniawati et al., 2017; Chen and Lin, 2017; Firmansyah and Febriyanto, 2018; Prastiwi, 2018; Rani et al., 2018; Kibiya and Aminu, 2019; Kałdoński and Jewartowski, 2019 and Siyanbonla, 2021). This study aims to use REM as a moderator to examine the relationship between financial attributes and tax planning whether it will strengthen or weaken the relationship. Design/methodology/approach The study examines the impact of financial attributes on the corporate tax planning of listed manufacturing firms in Nigeria. It also tests for the moderating effect of REM on the relationship between financial attributes and tax planning. Data for the study was sourced from the annual reports of sampled manufacturing firms. The study used the panel data methodology for analysis. The study used fixed effect estimation to interpret the parsimonious model and random effect was used to interpret the moderated model. The study documented that financial leverage has a positive significant influence on the tax planning of the sampled manufacturing firms. While firm growth has a negative significant impact on the tax planning of listed manufacturing firms in Nigeria. REM has a positive significant impact on tax planning. Also, REM moderate significantly the relationship between financial attributes on one hand and tax planning on the other. The study recommends that firms should go for more debt to take advantage of the tax shield of interest on the debt. Also, firm management should use non-current debt to finance non-current assets and use current debt to finance current assets to avoid the risk of taking over or liquidation. The study also recommends that firm management should engage in intercompany and intracompany transactions by selling their goods to affiliates in countries with low prices and low tax rates. A firm should also overproduce goods to have high production costs and high closing inventory since real earning management significantly reduces tax liabilities by deferring income into a later year. Findings The study documented that financial leverage has a positive and significant influence on the tax planning of the sampled manufacturing firms. While firm growth has a negative but significant impact on the tax planning of listed manufacturing firms in Nigeria. REM has a positive and significant impact on tax planning. Also, REM moderate significantly the relationship between financial attributes on one hand and tax planning on the other. Originality/value There is a lot of research concerning earnings management and tax planning in the developed economy. These studies include Wang and Chen (2012) and Pettersson and Wu (2015). In the emerging economies, it includes Jamei and Khedri (2016), Kurniasih and Sulardi Suranta (2017), Prastiwi (2017), Almashaqbeh et al. (2018), Bayunanda et al. (2018), Rani et al. (2018) and Kałdoński and Jewartowski (2019). It is important to note that none of the research mentioned above has evaluated the impact of REM on tax planning in Nigeria. While in the developed economy only Kałdoński and Jewartowski (2019) used REM as an explanatory variable, while the majority of studies used DA. Consequently, no study has used REM to moderate the relationship between financial attributes and tax planning.