The invention discloses a distributed media access method used in a wireless local area network. According to the method, on the basis of a distributed coordination function (DCF)-based media access method specified in the conventional standard, the time length of DCF inter-frame space (DIFS) is set by randomizing: namely, a random time length deltaDIFS is added on the basis of the set time length of the DIFS specified in a protocol; moreover, in order not to add excessive channel overhead, the time length deltaDIFS is recommended to be set within a set time slot length, namely, delta DIFS=random (0, Slot_time); the time length of the DIFS is used for avoiding a phenomenon that different users synchronously enter a random backoff window wait state because of selecting contention windows (CWs) with the same time length, so that data collision probability and retransmission numbers among different users are reduced; channel utilization rate is improved; and system throughput is increased. Because only the time length of the DIFS is modified (namely the time length of the DIFS is subjected to randomization processing), the method is simple in operation and easy to develop, cannot increase system complexity, and does not need to update conventional sites; and new sites are compatible with old sites mutually, so that the application range of the method is enlarged, and the method has very good popularization and application prospect.