It may have been a hoax or a joke, but police in Victoria are investigating anyway after someone posted an ad online offering a free baby.

The posting included a picture of the infant and said the parents wanted to give the child away because times are hard.

Victoria Police Constable Michael Russell says officers are trying to track down the parents and confirm that no child is at risk.

The ad was quickly removed from the Used Victoria website.