Lancaster police said a knife was sold to an undercover child during a test purchasing operation in the city.
Officers partnered with Trading Standards to test six premises on Wednesday, during Knife Crime Awareness Week.
They said five premises "passed with flying colours" but "one unfortunately failed and sold a knife to our underage volunteer".
"We are following up with enforcement activity to make sure this doesn’t happen again," said a police spokesperson.
"This is just one of many operations we are undertaking this week as a part of Op Sceptre.
"Although this week is Sceptre week of action, we work closely with Trading Standards all year round to regularly check premises' compliance with the law, offer education packages to help prevent sales to young people and then in the unfortunate case of sales being made to someone under the age of 18, enforcement follows."
It is an offence to sell a knife or bladed article to anyone aged under 18, and to be in possession of a knife or any article which has a blade or is sharply pointed, or other offensive weapon in public.
Find out where your local knife amnesty bin is HERE.
Op Sceptre is a week of action against knife crime.
If you have any information about knife crime in your area, call 101 or report anonymously through the independent charity Crimestoppers on 0800 555 111.


Children's play area in Lancaster opens after £118k revamp
Illegal tobacco and counterfeit clothing seized during raid on Lancaster city centre shop
Lancaster bowling green fundraiser hits target
Six food businesses in Lancaster district fail allergen tests
LISTEN: Stars of Morecambe and Wise stage show can't wait for Eric's 100th birthday
LISTEN: Thousands enjoy Wray Fair finale to annual scarecrow festival
PHOTOS and VIDEO: Incredible sand art on Morecambe beach honours Sir David Attenborough
Row over Morecambe FC debt as ex-directors' firm issues winding-up petition against club
Morecambe Pride handed £3,500 grant boost
North West awards delight for talented stars of Lancaster musicals
Music festival set for Lancaster over Bank Holiday postponed due to ‘ongoing planning’
Lancashire Police Museum in Lancaster celebrates fourth anniversary
Police investigate alleged sexual exploitation at Lancaster flat
Beyond the Beat: Two arrests after assault in Lancaster city centre
Morecambe MP "appalled" as Lancashire set to quit refugee resettlement scheme
Replica RAF helicopter to go on display in Lancaster at three-day show
Life-size knitted mannequin pops up ahead of Eric Morecambe's 100th birthday
Stars play in celebrity football match in Morecambe in memory of brave teenager
Roses are red! Lancaster University students celebrate fifth straight victory
70 homes in Carnforth evacuated after bomb scare

