The blogger, Asaduzzaman Noor aka Asad Noor, was on the run after the head of an Islamic seminary filed a case against him on January 11 this year under the Information and Communication Technology (ICT) Act, bdnews24.com reported.
He was arrested from Hazrat Shahjalal International Airport in Dhaka while trying to board a Kathmundu-bound flight, a senior police official was quoted as saying.
Immigration police said that Mr Noor was detained after his passport number raised red flag in the immigration system at the airport.
Mr Noor was charged under Bangladesh's strict internet laws and could face up to 14 years in jail if found guilty.
In recent years, Islamist extremists have hacked to death a dozen bloggers, publishers and activists, and forced several others to flee the country.
Following the attacks, the government launched a crackdown on extremist groups.
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.