The urethral groove forms on the ventral surface of the phallus early in development during the differentiation of the external genitalia. This is caused by the androgens produced and secreted by the testes. Androgen induced development causes the elongation and differentiation of the phallus into a penis, a fusion of the urogenital folds surrounding the urethral groove along the ventral surface of the penis, and a midline closure of the labioscrotal folds.