PurposeThis study evaluates the relationship between the entrepreneurial ecosystem and business competitiveness in four different contexts (i.e. France, Spain, Hungary and Costa Rica).Design/methodology/approachThe study uses a sample of 348 manufacturing and knowledge-intensive business service firms operating in four countries with different entrepreneurial ecosystems (France, Spain, Costa Rica and Hungary) for 2019. Firm competitiveness is computed via the “benefit-of-the-doubt” (BOD) method, and a multilevel model is employed to assess the connection between the entrepreneurial ecosystem and firm competitiveness.FindingsThe results of the multilevel model indicate that the entrepreneurial ecosystem is related to firm competitiveness, while the BOD results suggest that firms operating in settings with a more consolidated entrepreneurial ecosystem are better able to realize the outcomes of strategic choices linked to the exploitation of key resources and capabilities. Country-specific results suggest that “human capital” is the most relevant competitive pillar prioritized by all sampled businesses.Originality/valueThe proposed analysis of the connection between the entrepreneurial ecosystem and business competitiveness in different contexts contributes to the development of the entrepreneurial ecosystem frame by offering insights into how the properties of the entrepreneurial ecosystem (i.e. interactions among individuals, organizations and institutions) can produce economically meaningful effects on business performance.