The forebrain is patterned along the dorsoventral (DV) axis by Sonic Hedgehog (Shh). However, previous studies have suggested the presence of an Shh-independent mechanism. Our study identifies Wnt/beta-catenin-activated from the telencephalic roof-as an Shh-independent pathway that is essential for telencephalic pallial (dorsal) specification during neurulation. We demonstrate that the transcription factor Foxg1 coordinates the activity of two signaling centers: Foxg1 is a key downstream effector of the Shh pathway during induction of subpallial (ventral) identity, and it inhibits Wnt/beta-catenin signaling through direct transcriptional repression of Wnt ligands. This inhibition restricts the dorsal Wnt signaling center to the roof plate and consequently limits pallial identities. Concomitantly to these roles, Foxg1 controls the formation of the compartment boundary between telencephalon and basal diencephalon. Altogether, these findings identify a key direct target of Foxg1, and uncover a simple molecular mechanism by which Foxg1 integrates two opposing signaling centers.