Organocatalyst and metal provide different products: a catalyst-controlled switchable phosphination of α-diazoesters has been developed by using DBU and copper as catalysts. It provided an efficient synthetic method for the construction of various phosphorus compounds via the formation of N-P and C-P bonds.