| | | | | Qara Bajkam | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | |
| | | | |
| | | | | Sabuktigin (r. 977-997) Emir of Ghazna | | Bughrachuq (died 998) Governor of Herat | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
| | | | | Mahmud (r. 998-1030) Sultan of Ghazna | | Nasr (997- ?) Governor of Bust | | Ismail (r. 997-998) Emir of Ghazna | | Yusuf | | Hurra-yi Khuttali Princess married Mamunid ruler Ma'mun II. | | | |
| | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | |
| | | | | Muhammad (r. 1030, 1041) Sultan of Ghazna | | Mas'ud I (r. 1030-1041) Sultan of Ghazna | | Abd al-Rashid (r. 1049-1052) Sultan of Ghazna | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
| | | | | |
| 'Abd al-Rahman | | Ahmad | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| Maw'dud (r. 1041-1048) Sultan of Ghazna | | Ali (r. 1048-1049) Sultan of Ghazna | | Farrukh-Zad (r. 1053-1059) Sultan of Ghazna | | Ibrahim (r. 1059-1099) Sultan of Ghazna | | Majdud | | Mardan-shah | | Izad-yar | | Sa'id | |
| | | | | | | | | | | | | | | | | | | | |
| Mas'ud II (r. 1048) Sultan of Ghazna | | | | | | | | | | Mas'ud III (r. 1099-1115) Sultan of Ghazna | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | |
| | | | | Shir-Zad (r. 1115-1116) Sultan of Ghazna | | Arslan-Shah (r. 1116-1117) Sultan of Ghazna | | Bahram-Shah (r. 1117-1157) Sultan of Ghazna |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | Khusrau-Shah (r. 1157-1160) Sultan of Ghazna | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | Khusrau Malik (r. 1160-1186) Sultan of Ghazna | | |
| | | | | | | | | | | | | | | | | |