Dialect2SQL is a novel dataset designed for the Text-to-SQL task in Arabic dialects, with a particular focus on Moroccan Darija.It provides natural language questions written in Darija, paired with corresponding SQL queries and database schemas.The dataset enables research on low-resource natural language interfaces to databases (NLIDB) in non-standard Arabic varieties.