The outbreak of coronavirus disease 2019 has aroused a global alert. To release social panic and guide future schedules, this article proposes a novel mathematical model, the Delay Differential Epidemic Analyzer (D 2 EA), to analyze the dynamics of epidemic and forecast its future trends. Based on the traditional Susceptible-Exposed-Infectious-Recovered (SEIR) model, the D 2 EA model innovatively introduces a set of quarantine states and applies both ordinary differential equations and delay differential equations to describe the transition between two states. Potential variations of practical factors are further considered to reveal the true epidemic picture. In the experiment part, we use the D 2 EA model to simulate the epidemic in Hubei Province. Fitting to the collected real data as non-linear optimization, the D 2 EA model forecasts that the accumulated confirmed infected cases in Hubei Province will reach the peak at the end of February and then steady down. We also evaluate the effectiveness of the quarantine measures and schedule the date to reopen Hubei Province.Nomenclature D(t)-Deaths of disease, person E(t)-Free exposed population (also infectious), person I(t)-Free infectious population, person N (t)-Total of free populations, person QE(t)-Quarantined exposed population, person QI (t)-Quarantined confirmed infected cases, person QN (t)-Quarantined suspected but negative cases, person QP (t)-Quarantined suspected and positive cases, person QS(t)-Quarantined healthy susceptible population, person r(t)-Number of contact with one person per unit time, person/d R(t)-Recovered population (also free), person S(t)-Free susceptible population, person t-Time, d T -Time needed to confirm one suspected case, d α-Death rate of QI (t), d −1 αI -Death rate of I(t), d −1 βE-Probability of transmission per contact with E(t) βI -Probability of transmission per contact with I(t) γ(t)-Recovery rate of QI (t), d −1 γE-Recovery rate of E(t), d −1 γI -Recovery rate of I(t), d −1 δ(t)-Quarantine rate of I(t), d −1 ε-Rate of progression from exposed state to infectious state, d −1 η-Ratio of common cold sufferers to all susceptibles τ -Quarantine duration, d