The invention provides an extracting agent for extracting germanium and gallium and an extraction method using the same, relates to a hydrometallurgy extracting agent and in particular relates to an organic extracting agent for extracting germanium and gallium and an extraction method using the same. The extracting agent is characterized in that the extracting agent is O,O-dihydrocarbyl phosphorus hydroxamic acid the molecular formula of which is (RO)2P(O)NHOH, wherein in the formula, R is C5-C18 straight chain or branched chain alkyl, or C4-C14 straight chain or branched chain alkyl-substituted phenyl. The extracting agent provided by the invention has excellent extraction property, strong selectivity, high extraction rate and good phase splitting property on scattered metals such as germanium, gallium and the like. In the invention, O,O-dihydrocarbyl phosphorus hydroxamic acid is used as the extracting agent, so that germanium in an acidic aqueous solution can be extracted and enriched, or gallium in the acidic aqueous solution can be extracted and enriched, thereby realizing the separation of scattered metal germanium or gallium and elements such as zinc, iron, arsenic, manganese, calcium, magnesium and the like; and germanium and gallium in the acidic aqueous solution can also be extracted and separated step by step, thereby realizing the separation and enrichment of germanium and gallium.