The present invention relates to a system for producing diesel of high quality and method thereof. The system comprises an extraction unit. The system is characterized in that the top of the extraction unit is connected with a raffinate-oil washing tower via pipes, the top of the raffinate-oil washing tower is connected with a hydrogenation reaction system via pipes, products are extracted from the bottom of the hydrogenation reaction system via pipes, the bottom of the extraction unit is connected with a return washing tower via pipes, the top of the return washing tower is connected with an extract-oil washing tower via pipes, the bottom of the return washing tower is connected with a recovery tower, the top of the extract-oil washing tower is connected with a extract-oil cutting tower via pipes, the top of the extract-oil cutting tower is connected respectively with the bottom of the extraction unit and connected with the bottom of the return tower via pipes, light aromatic hydrocarbon products are directly extracted out from the side lines of the extract-oil cutting tower via pipes, heavy aromatic hydrocarbon products are directly extracted out from the bottom of the extract-oil cutting tower via pipes, the top of the recovery tower is connected respectively with the bottom of the extraction unit and the bottom of the return tower, and the bottom of the recovery tower is connected with the top of the extraction unit via pipes. The hydrogenation unit is only applied to raffinate oil and extract oil with special requirements, so that the scale is small and the cost is low. Moreover, the diversification of raw materials processed by the system is obvious. Not only can straight-run diesel oil can be processed, but also the catalyzed diesel oil and the coking diesel oil can be processed. In addition, the invention separates aromatic hydrocarbon from diesel oil, therefore the cetane number of the diesel oil is improved greatly.