Investigations are on-going but the deaths are not thought to be linked and at this stage are not believed to be suspicious.
Next of kin have been informed and reports will be submitted to the Procurator Fiscal.
Chief Superintendent Angela McLaren, the Police Scotland Gold commander for the event, said: “Our thoughts and condolences are with the families of the two young people involved.
“We are continuing to investigate these deaths and are following lines of enquiry, including the possibility that they may be drug related.
“I would remind all persons attending the festival that there is no safe way of taking drugs.
“Anyone who has any concerns for themselves or others at the festival should contact festival staff, police officers or medics for assistance.”