This compound is prepared by oxidation of 4-aminodimethylaniline in the presence of sodium thiosulfate to give the quinonediiminothiosulfonic acid, reaction with dimethylaniline, oxidation to the indamine, and cyclization to give the thiazine:
A green electrochemical procedure, using only dimethyl-4-phenylenediamine and sulfide ions has been proposed.