FirebaseUser mFirebaseUser = mAuth.getCurrentUser(); if(mFirebaseUser != null) { currentUserID = mFirebaseUser.getUid(); //Do what you need to do with the id }