|Female X. violacea on Phlomis viscosa|
Like most members of the genus Xylocopa, it makes its nests in dead wood. It is not particularly aggressive, and will attack only if forced to.
The range of Xylocopa violacea extends from Europe eastward across Asia as far as central China, restricted to latitudes above 30 degrees. In India, any all-black species of Xylocopa are referred to by the common name "bhanvra", and reports and sightings of bhanvra are commonly misattributed to this species; however, this species is found only in the northern regions of Jammu and Kashmir and Punjab. Most sightings refer to any of several other common black Xylocopa, such as X. nasalis, X. tenuiscapa, or X. tranquebarorum.
In 2006 Xylocopa violacea was reported from Cardigan, Wales. In 2007 it was found breeding for the first time in England, in Leicestershire. This follows a northwards expansion of its range in France, Germany, and the Channel Islands. In 2010 it was recorded in Northamptonshire and Worcestershire.
Violet carpenter Bees hibernate overwinter and they emerge in the spring, usually around April or May. Hibernation is undertaken by the adults in wood where there are abandoned nest tunnels. In the late spring or early summer, they may be seen around searching for mates and suitable nesting sites. After mating, the gravid queens bore tunnels in dead wood, which is where the name Carpenter Bee comes from, although old nest tunnels may be used.
Like other solitary bees, the queen creates the nest alone. The eggs are laid within a series of small cells, each of which is supplied with a pollen ball for the larvae to feed upon. The adults emerge in late summer then hibernate until the following year.
- McCarthy, Michael (2007), "Honey monster: watch out for the violet carpenter bee", The Independent
- Gupta, R.K., Yanega, D. 2003. A taxonomic overview of the carpenter bees of the Indian region [Hymenoptera, Apoidea, Apidae, Xylocopinae, Xylocopini, Xylocopa Latreille]. pp. 79-100 in Gupta, R.K. (Ed.) Advancements in Insect Biodiversity. Agrobios, Jodhpur, India.
- Bees, Wasps & Ants Recording Society (2010). "Xylocopa in Britain". Retrieved 2014-05-31.