Pistacia vera often is confused with other species in the genus pistacia that are also known as pistachio. These other species can be distinguished by their geographic distributions (in the wild) and their seeds which are much smaller and have a soft shell
Pistachio is a desert plant, and is highly tolerant of saline soil. It has been reported to grow well when irrigated with water having 3,000–4,000 ppm of soluble salts. Pistachio trees are fairly hardy in the right conditions, and can survive temperatures ranging between −10 °C (14 °F) in winter and 48 °C (118 °F) in summer. They need a sunny position and well-drained soil. Pistachio trees do poorly in conditions of high humidity, and are susceptible to root rot in winter if they get too much water and the soil is not sufficiently free-draining. Long, hot summers are required for proper ripening of the fruit. They have been known to thrive in warm, moist environments.
The bush grows up to 10 m (33 ft) tall. It has deciduous pinnate leaves 10–20 centimeters (4–8 inches) long. The plants are dioecious, with separate male and female trees. The flowers are apetalous and unisexual, and borne in panicles.
The fruit is a drupe, containing an elongated seed, which is the edible portion. The seed, commonly thought of as a nut, is a culinary nut, not a botanical nut. The fruit has a hard, creamish exterior shell. The seed has a mauvish skin and light green flesh, with a distinctive flavor. When the fruit ripens, the shell changes from green to an autumnal yellow/red, and abruptly splits part way open (see photo). This is known as dehiscence, and happens with an audible pop. The splitting open is a trait that has been selected by humans. Commercial cultivars vary in how consistently they split open.
Each pistachio tree averages around 50 kilograms (110 lb) of seeds, or around 50,000, every two years.
The shell of the pistachio is naturally a beige color, but it is sometimes dyed red or green in commercial pistachios. Originally, dye was applied by importers to hide stains on the shells caused when the seeds were picked by hand. Most pistachios are now picked by machine and the shells remain unstained, making dyeing unnecessary except to meet ingrained consumer expectations