This paper deals with estimates of heritability and the effect of two different kinds of environment on the melanization of pupae in the butterfly Heliconius erato phyllis. The results for heritability showed greater differences when the offspring were regressed on male or female values for pupal colour. Pupal colour followed a system of discrete scores, from 2 for the light pupae to 5 for the darkest one. Estimate of the heritability (h2) was 0.44 when the average score of the siblings were regressed on the mid-parental value. When regressed on the male parent, h2 was larger (0.54), being very low when regressed on the female parent (0.09). Estimate by the analysis of variance was also 0.44 when both male and female sibs were included in the analysis (for male sibs, h2=0.43 and for female sibs, 0.47). To test for the effect of the environment, each brood was divided in three, one being the control, the second subjected to a black environment when reaching the fifth instar and the third to a white environment. Those in the black environment originated dark pupae that scored 5 or 4; for those in the white environment, there was no difference with the controls. Caterpillars when entering the prepupal stage were also subjected to the black treatment (early and late prepupal stage, respectively, for treatments called black A and black B). A significant effect was observed only when early prepupal stage was subjected to the black environment.