Ad hoc networks use AODV and AOMDV routing protocols to find path from source to destination. But when number of mobile node in the network or movement velocity increases, AODV and AOMDV routing protocols are not efficient and cannot overcome well handle the dynamic complexity of the mobile network. Thus, we need a routing algorithm that has a low level of fault and transmit data packets safely to the destination. To have a good performance in this case, we use multipath routing to control the traffic congestion in the network. In this article, we purposed a new routing algorithm based on AOMDV routing protocol named AOMDV-AQ that caused congestion control and load balancing in the network. Of order to route traffic congestion into less crowded neighbors who are less congested, this technique employs the average queue length in each intermediary node. This random routing procedure increase throughput and decrease end-to-end delay of packets from source to destination because of the effect on congestion level of network traffic on bottleneck nodes. Finally, it improves the performance of network.