The suspects, who went before a judge on Sunday night, were charged with making "explosive devices with the intention to kill" and "an attempt to disrupt constitutional order", according to Anatolia news agency.
The prosecutor in charge of the case meanwhile issued a warrant for nine others accused of playing a part in the October 10 attack that killed 102 people, the worst of its kind in Turkey's history.
Turkish authorities have said the Islamic State (IS) group is the "number one suspect" for the attacks which targeted a pro-Kurdish and liberal peace rally calling for an end to hostilities between security forces and Kurdish rebels.
Turkey arrests 50 foreigners in Ankara blasts probe
Prime Minister Ahmet Davutoglu confirmed Monday that one of the suicide bombers had been officially identified through DNA testing, with prosecutors naming him as Yunus Emre Alagoz.
Alagoz, a young Turk from the militant stronghold of Adiyaman, was the brother of the man suspected of carrying out a similar attack in July in Suruc, a town in southern Turkey on the border with Syria, that killed 34 people.
"One of the suicide bombers has been identified as Yunus Emre Alagoz. The other suicide bomber has been identified through photographs and efforts are going on to reveal his full identity," the prosecutors' statement said.
They added that Alagoz, believed to have trained with the Islamic State group in Syria, had travelled "from a neighbouring country on our southern borders in order to carry out the attack".
Turkish media had earlier identified the second bomber as Omer Deniz Dundar, who had twice been to Syria.
Ankara bombing attacks trail leads to homegrown militants
Davutoglu said the government was exploring ties between the attacks on Suruc, Ankara and Diyarbakir.
Five people were killed in Diyarbakir in June after a bomb exploded during a pre-election campaign rally for the pro-Kurdish Peoples' Democratic Party (HDP). One man was arrested for involvement in that attack.
A total of 768 people have been arrested over suspected links to IS since the Suruc attack in July, the PM said, pledging to track down those responsible for the latest atrocity.
Many of those arrested have since been released.
The four remanded in custody on Sunday were part of a group originally detained due to suspicious posts on Twitter.
Davutoglu, head of the Islamic-rooted AKP ruling party, said he believed "groups like Daesh, the PKK and DHKP-C... are working hand in hand to harm Turkey and drag it into chaos," referring to the Islamic State (IS) group, the outlawed Kurdistan Workers' Party and the far-left Revolutionary People's Liberation Party-Front.
Terror in Ankara: Twin blasts kill 86 at pro-Kurdish rally
Police on Sunday arrested some 50 foreign nationals in a sweep targeting suspected IS extremists with alleged links to the bombings.
Turkey is the main point of entry to Syria for IS recruits.
The attack has raised political tensions to new highs as Turkey prepares for a snap election on November 1, in a country that has become more polarised than ever.
Pressure has piled on President Recep Tayyip Erdogan, with opposition figures blaming him for security lapses over the Ankara attack and failing to crack down on IS.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ