PurposeThis study aims to use institutional and upper echelons theories to comprehensively investigate the intricate interplay between TMT legal expertise and firms' adaptive strategies in legal contexts, notably within emerging economies. It explores how upper echelons experiences shape opportunistic compliance strategies, impacting value and risk perceptions. Drawing on upper echelons theory, the research probes how TMT legal expertise molds firms’ involvement in significant lawsuits, accounting for influential roles. It scrutinizes TMT’s impact on legal strategies, positing that managerial discretion emerges from environmental factors, organizational attributes and executive traits. The study underscores TMT’s internal incentives and external factors’ interplay, molding strategic legal engagement.Design/methodology/approachTo validate this framework, statistical analysis is performed on data from 2,584 Chinese-listed firms. The data set spans 2010–2015, with 5,713 material lawsuits. Chosen due to reliable institutional-level incentives data from the China Market Index Database, years 2016–2019 are excluded for methodological disparities. Moreover, 2007–2009 is omitted to mitigate the potential financial crisis impact. This study’s 11,272 observations ensure robust empirical exploration, offering insights into the interplay of TMT legal expertise, institutional factors and firms’ legal strategies.FindingsThe study reveals that firms led by executives with legal expertise are more prone to engage in significant lawsuits, indicating strategic use of legal skills. TMT age moderates this, with older teams less likely to engage. TMT tenure’s effect remains unclear due to tenure-risk preference complexity. Institutional factors matter; less legally mature regions reduce managers’ legal risk intention. Results confirm hypotheses and highlight executive human capital’s impact on firms’ legal strategies.Research limitations/implicationsThis study acknowledges contributions while highlighting limitations, including the need for detailed distinctions in lawsuit roles and exploration of heterogeneous TMT power dynamics. Further research is proposed for nuanced power dynamics and comprehensive TMT legal background data. The study advances upper echelons theory by introducing TMT legal expertise as a factor influencing strategic lawsuit behavior. It challenges institutional theory by showing the adaptable legal context, beyond fixed constraints. Moderating factors – group risk attitude and external knowledge – deepen understanding of upper echelons’ impact. Enhanced data collection is encouraged to address limitations and refine findings.Practical implicationsThis study’s implications extend to managerial practices. Firms should acknowledge the dynamic legal system, using TMT legal expertise for strategic legal challenges. Executives should pragmatically approach regulations. While legal professionals enhance compliance, caution is needed in selecting TMT members with legal expertise due to the risk of misusing it for unnecessary litigation, potentially misaligned with financial performance goals.Originality/valueThis study combines institutional and upper echelons theories to explore TMT legal expertise’s impact on firms’ adaptive strategies in emerging economies. It challenges the idea of a universally constraining legal environment and highlights how TMT legal expertise enhances firms’ management of complex legal risks. The research introduces TMT legal expertise as an influencing factor in strategic lawsuits, revealing nuanced relationships between legal contexts and strategic decisions. The findings enrich upper echelons theory, challenge conventional institutional views and identify moderating factors that deepen the understanding of upper echelons’ influence in legal landscapes.