A filter with a drain valve is provided. The drain valve mounts within an opening of a housing of the filter. The drain valve has a knob mounted to a valve member thereof. At least one locking structure is disposed between the knob and the valve member to mechanically lock the knob to the valve member. Such a configuration reduces the likelihood that the knob will become inadvertently dislodged during operation.