FirebaseUser currentUser = FirebaseAuth.getInstance().getCurrentUser(); if (currentUSer !- null) { //do something... } else { //do something... }