The invention provides a refreshing method for a DRAM (dynamic random access memory). The method comprises the steps of setting an initial value of a counter, wherein the count of the counter is decreased every one decreasing period; judging whether the lines of the DRAM are accessed, if yes, entering the next refreshing period by setting the value of the counter as the initial value, and if not, when the value of the counter is decreased to the minimum count value, searching whether an access operation for the line to be refreshed exists in an access storage order queue, and if the access for the line to be refreshed exists in the access storage order queue, using a scheduler to execute in priority and setting the value of the counter as the initial value to enter the next refreshing period. Three priority scheduling algorithms of prior line targeting, the prior access order of the line to be refreshed and the first coming and first serving are adopted by the method to perform the DRAM control operation, and partial refreshing operation is replaced by prior scheduling the access to the line to be refreshed, so the refreshing times are reduced, the power consumption of the DRAM is reduced, and system performance is enhanced.