At least 21 militants were killed in Pakistani airstrikes Sunday in a volatile area close to the Afghan border, officials said.