The length limit of edittext is 6 characters. However, if you make a new InputFilter and set it into EditText, you will lose all other defined filters that you might have added either through XML or using a program. It limits the maximum length of the EditText widget to 6 characters.