Artemisia annua L. is well-known as the plant source of artemisinin, a sesquiterpene lactone with effective antimalarial activity. Here, a putative ortholog of the Arabidopsis thaliana WRKY40 transcription factor (TF) was isolated via reverse transcription-polymerase chain reaction and rapid amplification of cDNA ends in A. annua and named AaWRKY40. A putative nuclear localization domain was identified in silico and experimentally confirmed by using protoplasts of A. annua transiently transformed with AaWRKY40-GFP. A genome-wide analysis identified 122 WRKY genes in A. annua, and a manually curated database was obtained. The deduced proteins were categorized into the major WRKY groups, with group IIa containing eight WRKY members including AaWRKY40. Protein motifs, gene structure, and promoter regions of group IIa WRKY TFs of A. annua were characterized. The promoter region of AaWRKY group IIa genes contained several abiotic stress cis-acting regulatory elements, among which a highly conserved W-box motif was identified. Expression analysis of AaWRKY40 compared to AaWRKY1 in A. annua cell cultures treated with methyl jasmonate known to enhance artemisinin production, suggested a possible involvement of AaWRKY40 in terpenoid metabolism. Further investigation is necessary to study the role of AaWRKY40 and possible interactions with other TFs in A. annua.