There is no definitive canonical date for when Sherlock Holmes first took up residence at 221B Baker Street. Sir Arthur Conan Doyle’s original stories mention the address but never specify a move-in date.
Accurately, Holmes resided at 221B during the period of the original stories, but a precise moving date is not provided in the canon.