Two general methods, Method A and Method B in Scheme 19, to synthesize epidithiapiperazinediones, are described. A total synthesis of racemic and optically active gliotoxin (1) and of racemic dehydrogliotoxin (53) was achieved by using Method A, whereas a total synthesis of racemic hyalodendrin (52) was completed by using Method B.