Lowther had sent a text saying "Do you want some MD for ny" in reply the other person replied "Nah my body is a temple".
No actual drug was exchanged because later when questioned, Lowther said "I didn't have anything to give him and he is definitely not into that type of thing".
"I don't know why I did that," he added.
A few days later in Mount Maunganui on New Year's Eve, and again on 2 January 2017, Lowther consumed the drug at the Bay Dreams music festival.
And then in March of that year at the Wellington Home Grown festival, as well as in November and January 2018, he also took drugs.
Lowther was given text instructions of how to consume the drug and he replied he had "railed it" and it had "kicked in".
He also said he sniffed the white powder by using a rolled-up $20 note.
The court martial also heard of a text message exchange between Lowther and another serviceman where Lowther asked for "nose beers" for his 21st birthday party, which Lowther confirmed was MDMA.
This afternoon, a witness described Lowther as a friendly and genuine person, who was well liked and helped out his mates.
The witness said he was disappointed when he heard Lowther faced the drug charges.
The court martial before Judge Kevin Riordan is expected to last much of the week.