A dual-function padlock includes a lock body, a numeral detent unit, a U-shaped hook, a hook member, a numeral unlocking member, and a lock core unit, providing a simple configuration. By an operation portion of a numeral unlocking member, the padlock can be unlocked by using numerals and can be conveniently locked without the need to match correct numerals.