A moderately sized species, closely related to X. australis, that is native to rocky slopes and ridges on soils derived from sandstone on the central coast in New South Wales, Australia. It forms a slender stem that often remains blackened from bushfires. Xanthorrhoeas are very useful plants. The Australian Aborigines have found many uses for grass trees. The inflorescence is a good source of nectar, the inflorescence stems were used to make spears and are also effective firesticks. A resin that is produced by the stems as a reaction to damage, heat or fire can be used as a varnish for wood or metal, as sealing wax or glue, and as an incense. It it also said to have medicinal value. X. media does well in many temperate climates. It can take moderate freezes and needs a spot in full sun on light, well drained soil.