Recent evidence suggests that formality improves micro-firms profits in Bolivia. This gain is only for firms with 2 to 5 workers, while smaller and larger firms would lose out by formalizing (McKenzie and Sakho, 2010). However, as much of the empirical literature on this topic, the estimations are based on strong assumptions about unobservables. If the returns to formality vary among firms and these variations influence selection into formality, traditional estimators are biased (Heckman and Vytlacil, 2007). In this paper we consider these elements to estimate the heterogeneous effects of formality on firm profits in Bolivia. We find remarkable heterogeneity in the returns to formality, from -3% to 6%. The group of firms with positive marginal effects from formality corresponds to those which are most likely to register. We also characterize the firms that likely benefit from having a formal status. These would correspond to large firms which work at big scales.