Taking into account that the scalar a0(980) can be dynamically generated from the pseudoscalar-pseudoscalar interaction within the chiral unitary approach, we have studied the single Cabibbo-suppressed process D+→π+π0η. We find clear peaks of a0(980)+ and a0(980)0 in the π+η and π0η invariant mass distributions, respectively. The predicted Dalitz plots of D+→π+π0η also manifest the significant signals for a0(980)+ and a0(980)0 states. The uncertainties of the results due to the free parameters are also discussed. Our study shows that the process D+→π+π0η can be used to explore the nature of the scalar a0(980), thus we encourage the experimental physicists to measure this reaction with more precision.