The 27 nations will seek to enforce the measure immediately, according to The Associated Press.
German Chancellor Angela Merkel said European leaders made the decision while on a conference call.
She also said citizens of the United Kingdom, Norway, Liechtenstein, and Switzerland will likely be exempt.
There is currently a joint effort underway to repatriate citizens who outside the EU's borders, The AP reported.
European Union leaders are holding a second summit to respond to the coronavirus threat on Tuesday, with the hopes of forming a task force to stop the disease from spreading any further.