From January to April 1941 UD-4 served as school boat in Kiel when attached to the 1st Flotilla. In May she was transferred to the 3rd Flotilla also in Kiel where she was used as a trial boat. She remained there until July that year.